package com.pangu.converter.mapstruct;

import com.pangu.dto.PanguDTO;
import com.pangu.entity.Pangu;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Linbizhao
 * @description: 盘古对象转化器
 * @since 2023/11/24 11:16
 */
@Mapper(componentModel = "spring")
public interface PanguMapper extends BaseMapper<PanguDTO, Pangu> {

    PanguMapper INSTANCE = Mappers.getMapper(PanguMapper.class);

    /**
     * DTO转POJO
     */
    @Override
    Pangu source2Target(PanguDTO var1);
}
